import icon_1 from '@/assets/images/common/svg/icon-1.svg';
import icon_2 from '@/assets/images/common/svg/icon-2.svg';
import icon_3 from '@/assets/images/common/svg/icon-3.svg';
import icon_4 from '@/assets/images/common/svg/icon-4.svg';
import icon_5 from '@/assets/images/common/svg/icon-5.svg';
import icon_6 from '@/assets/images/common/svg/icon-6.svg';
import icon_7 from '@/assets/images/common/svg/icon-7.svg';

/** 手机号绑定 */
const bindMobile = {
  title: 'text_122',
  formItmes: [
    {
      name: 'BindInfo',
      label: 'text_110',
    },
    {
      name: 'VerfiyCode',
      label: 'text_120',
      isSend: true,
    },
  ],
};
/** 邮箱绑定 */
const bindEmail = {
  title: 'text_119',
  formItmes: [
    {
      name: 'BindInfo',
      label: 'text_111',
    },
    {
      name: 'VerfiyCode',
      label: 'text_120',
      isSend: true,
    },
  ],
};
/** 登录密码修改 */
const editPwd = {
  title: 'text_126',
  formItmes: [
    {
      name: 'OldPassword',
      label: 'text_123',
      type: 'password',
    },
    {
      name: 'NewPassword',
      label: 'text_124',
      type: 'password',
    },
    {
      name: 'ConfirmPassword',
      label: 'text_125',
      type: 'password',
    },
  ],
};
/** 资金密码修改 */
const editFundPwd = {
  title: 'text_127',
  formItmes: [
    {
      name: 'Type',
      label: 'text_128',
      default: '2',
      itemType: 'bindType',
    },
    {
      name: 'BindInfo',
      label: 'text_130',
      disabled: true,
    },
    {
      name: 'FundPassword',
      label: 'text_113',
      type: 'password',
    },
    {
      name: 'ConfirmPassword',
      label: 'text_125',
      type: 'password',
    },
    {
      name: 'VerfiyCode',
      label: 'text_120',
      isSend: true,
    },
  ],
};

/**
 * 修改和绑定的form
 */
export const forms = {
  bindMobile,
  bindEmail,
  editPwd,
  editFundPwd,
};

// 主题列表
export const list = [
  {
    key: '/bet/info',
    icon: icon_1,
    title: 'text_38',
    desc: 'text_100',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/bet/bind-mobile',
    icon: icon_2,
    title: 'text_122',
    desc: 'text_142',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/bet/bind-email',
    icon: icon_3,
    title: 'text_119',
    desc: 'text_143',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/bet/update-pwd',
    icon: icon_4,
    title: 'text_126',
    desc: 'text_135',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/bet/update-fund-pwd',
    icon: icon_5,
    title: 'text_113',
    desc: 'text_136',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/band-list',
    icon: icon_6,
    title: 'text_137',
    desc: 'text_138',
    isEdit: true,
    isRightIcon: true,
  },
  {
    key: '/band-list',
    icon: icon_7,
    title: 'text_139',
    desc: 'text_140',
    isEdit: true,
    isRightIcon: true,
  },
  // {
  //   key: 'logout',
  //   icon: '',
  //   title: 'text_132',
  //   desc: 'text_141',
  // },
];
